package com.inno.subject.controller.convert;

import com.inno.subject.controller.dto.SubjectCategoryDTO;
import com.inno.subject.domain.entity.SubjectCategoryBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectCategoryDTOConverter {
    SubjectCategoryDTOConverter INSTANCE = Mappers.getMapper(SubjectCategoryDTOConverter.class);


    List<SubjectCategoryDTO> convertBOListToDTOList(List<SubjectCategoryBO> boList);

    SubjectCategoryBO convertDTOToBO(SubjectCategoryDTO subjectCategoryDTO);
}
